from django.db import models


class Company(models.Model):
    name = models.CharField(max_length=300, blank=True, null=True)
    sdate = models.CharField(max_length=300, blank=True, null=True)
    email = models.CharField(max_length=300, blank=True, null=True)
    domain = models.CharField(max_length=300, blank=True, null=True)
    city = models.CharField(max_length=300, blank=True, null=True)

    class Meta:
        managed = False
        db_table = 'company'


class Customer(models.Model):
    name = models.CharField(max_length=300, blank=True, null=True)
    lastname = models.CharField(max_length=300, blank=True, null=True)
    address = models.CharField(max_length=300, blank=True, null=True)
    country = models.CharField(max_length=300, blank=True, null=True)
    city = models.CharField(max_length=300, blank=True, null=True)
    registry_date = models.CharField(max_length=300, blank=True, null=True)
    birthdate = models.CharField(max_length=300, blank=True, null=True)
    email = models.CharField(max_length=300, blank=True, null=True)
    phone_number = models.CharField(max_length=300, blank=True, null=True)
    locale = models.CharField(max_length=300, blank=True, null=True)

    class Meta:
        managed = False
        db_table = 'customer'


class DetailedRegistration(models.Model):
    email = models.CharField(max_length=300, blank=True, null=True)
    password = models.CharField(max_length=300, blank=True, null=True)
    lastname = models.CharField(max_length=300, blank=True, null=True)
    name = models.CharField(max_length=300, blank=True, null=True)
    adress = models.CharField(max_length=300, blank=True, null=True)
    phone = models.CharField(max_length=300, blank=True, null=True)

    class Meta:
        managed = False
        db_table = 'detailed_registration'


class SimpleRegistration(models.Model):
    email = models.CharField(max_length=300, blank=True, null=True)
    password = models.CharField(max_length=300, blank=True, null=True)

    class Meta:
        managed = False
        db_table = 'simple_registration'


class UserAgent(models.Model):
    ip = models.CharField(max_length=300, blank=True, null=True)
    countrycode = models.CharField(max_length=300, blank=True, null=True)
    useragent = models.CharField(max_length=300, blank=True, null=True)

    class Meta:
        managed = False
        db_table = 'user_agent'
